// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'

import HelloWorld from './components/HelloWorld.vue'
import TestView from './components/TestView.vue'
import Footer from "./components/FooterViewer.vue"

Vue.use(VueRouter)
Vue.config.productionTip = false






const routes = [
  { path: '/hello', component: HelloWorld },
  { path: '/test', component:TestView }
]

const  router = new VueRouter(
  {routes}
)



/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
  router
})

